package com.zhoukx.adapter.intefaceadpater;

/**
 *  方法适配模式
 */
public class Client {

    public static void main(String[] args) {
        AbsAdapter absAdapter = new AbsAdapter() {
            @Override
            public void m1() {
                System.out.println("我使用m1");
            }
        };
        absAdapter.m1();
    }
}
